package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.dto.chat.ChatRoomDto;
import com.yupi.springbootinit.model.dto.chat.ChatRoomQueryRequest;
import com.yupi.springbootinit.model.entity.ChatRoom;

import javax.servlet.http.HttpServletRequest;

/**
* @author 尔特岛
* @description 针对表【chatroom(聊天房间表)】的数据库操作Service
* @createDate 2025-03-27 16:22:41
*/
public interface ChatRoomService extends IService<ChatRoom> {

    /**
     * 分页获取当前用户聊天房间的所有聊天内容
     * @param request
     * @return
     */
    Page<ChatRoomDto> getChatRoomPage(ChatRoomQueryRequest chatRoomQueryRequest, HttpServletRequest request);

    /**
     * 查看当前用户部分聊天内容
     * @param request
     * @return
     */
}
